package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.SysInsuranceDetails;
import java.util.List;

/**
 * 投保单下载Mapper接口
 * 
 * @author ruoyi
 * @date 2021-09-17
 */
public interface SysInsuranceDetailsMapper 
{
    /**
     * 查询投保单下载
     * 
     * @param id 投保单下载ID
     * @return 投保单下载
     */
    public SysInsuranceDetails selectSysInsuranceDetailsById(Long id);

    public SysInsuranceDetails selectSysInsuranceDetailsByBatchNo(String batchNo);

    /**
     * 查询投保单下载列表
     * 
     * @param sysInsuranceDetails 投保单下载
     * @return 投保单下载集合
     */
    public List<SysInsuranceDetails> selectSysInsuranceDetailsList(SysInsuranceDetails sysInsuranceDetails);

    public List<SysInsuranceDetails> selectPaySysInsuranceDetailsList(SysInsuranceDetails sysInsuranceDetails);

    /**
     * 新增投保单下载
     * 
     * @param sysInsuranceDetails 投保单下载
     * @return 结果
     */
    public int insertSysInsuranceDetails(SysInsuranceDetails sysInsuranceDetails);

    /**
     * 修改投保单下载
     * 
     * @param sysInsuranceDetails 投保单下载
     * @return 结果
     */
    public int updateSysInsuranceDetails(SysInsuranceDetails sysInsuranceDetails);

    /**
     * 删除投保单下载
     * 
     * @param id 投保单下载ID
     * @return 结果
     */
    public int deleteSysInsuranceDetailsById(Long id);

    public String selectNewestBatchNo();

    /**
     * 批量删除投保单下载
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSysInsuranceDetailsByIds(String[] ids);
}
